import os 
base_path = os.path.dirname(os.path.abspath(__file__))
print(base_path)